package com.elephant.core.reactor;

/**
 * @Author: hai
 * @Date: 2019/2/12 16:13
 */
public abstract class EventHandler {

    private InputSource source;

    /**
     * 事件处理
     * @param event
     */
    public abstract void handle(Event event);

    public InputSource getSource() {
        return source;
    }

    public void setSource(InputSource source) {
        this.source = source;
    }
}
